package util.site 
{
	/**
	 * ...
	 * @author Kasoi
	 */
	public class PartCodes
	{
		
		static public const MAIN: String = 'main';
		
		static public const LOADER: String = 'loader';
		
		
		static private var codes: Array = [PartCodes.MAIN, PartCodes.LOADER];
		
		static public function contains(code: String) : Boolean
		{
			for (var i: int = 0; i < PartCodes.codes.length; i++) 
			{
				if (code == PartCodes.codes[i]) return true;
			}
			
			return false;
		}
		
	}

}